adTempus API
PreviousUpNext
IADTObject::CanPerform Method

Determines whether the user has the necessary permission to perform a specified action on the object

C++
HRESULT CanPerform(SecurityActionsEnum action, [out,retval] VARIANT_BOOL * canPerform);
C#
CanPerform(SecurityActionsEnum action, [out,retval] VARIANT_BOOL canPerform);
Visual Basic
Sub CanPerform(action As SecurityActionsEnum, canPerform As [out,retval] VARIANT_BOOL)
Parameters 
Description 
[in] SecurityActionsEnum action 
The action requested. 
[out,retval] VARIANT_BOOL * canPerform 
The return value. 

True if the user has permission to perform the action, False otherwise.

adTempus API Reference version 3.0.0.0, revised 10/30/2008